package com.cainiao.pojo;

import java.util.Date;

/**
 * 
 * Distributor
 * 数据库表：distributor
 */
public class Distributor {

    /**
     * 主键
     * 表字段 : distributor.id
     */
    private Long id;

    /**
     * 企业标识
     * 表字段 : distributor.biz_code
     */
    private String bizCode;

    /**
     * 用户ID
     * 表字段 : distributor.user_id
     */
    private Long userId;

    /**
     * 用户名
     * 表字段 : distributor.user_name
     */
    private String userName;

    /**
     * 分销商等级ID
     * 表字段 : distributor.level_id
     */
    private Long levelId;

    /**
     * 省份编码
     * 表字段 : distributor.province_code
     */
    private String provinceCode;

    /**
     * 城市编码
     * 表字段 : distributor.city_code
     */
    private String cityCode;

    /**
     * 区域编码
     * 表字段 : distributor.region_code
     */
    private String regionCode;

    /**
     * 启用状态
     * 表字段 : distributor.status
     */
    private Byte status;

    /**
     * 开户银行名称
     * 表字段 : distributor.bank_name
     */
    private String bankName;

    /**
     * 银行卡号
     * 表字段 : distributor.bank_card_id
     */
    private String bankCardId;

    /**
     * 银行账户名
     * 表字段 : distributor.bank_account_name
     */
    private String bankAccountName;

    /**
     * 联系人姓名
     * 表字段 : distributor.contact_name
     */
    private String contactName;

    /**
     * 联系号码
     * 表字段 : distributor.contact_phone
     */
    private String contactPhone;

    /**
     * 身份证号
     * 表字段 : distributor.idcard_no
     */
    private String idcardNo;

    /**
     * 
     * 表字段 : distributor.delete_mark
     */
    private Byte deleteMark;

    /**
     * 
     * 表字段 : distributor.gmt_created
     */
    private Date gmtCreated;

    /**
     * 
     * 表字段 : distributor.gmt_modified
     */
    private Date gmtModified;

    /**
     * 分销类型
     * 表字段 : distributor.dist_type
     */
    private Byte distType;

    /**
     * 可提现金额
     * 表字段 : distributor.withdrawable_amount
     */
    private Long withdrawableAmount;

    /**
     * 已提现金额
     * 表字段 : distributor.withdrawed_amount
     */
    private Long withdrawedAmount;

    /**
     * 待结算金额
     * 表字段 : distributor.frozen_amount
     */
    private Long frozenAmount;

    /**
     * 详细地址
     * 表字段 : distributor.address
     */
    private String address;

    /**
     * 获取 主键 字段:distributor.id
     *
     * @return distributor.id, 主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置 主键 字段:distributor.id
     *
     * @param id the value for distributor.id, 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 企业标识 字段:distributor.biz_code
     *
     * @return distributor.biz_code, 企业标识
     */
    public String getBizCode() {
        return bizCode;
    }

    /**
     * 设置 企业标识 字段:distributor.biz_code
     *
     * @param bizCode the value for distributor.biz_code, 企业标识
     */
    public void setBizCode(String bizCode) {
        this.bizCode = bizCode == null ? null : bizCode.trim();
    }

    /**
     * 获取 用户ID 字段:distributor.user_id
     *
     * @return distributor.user_id, 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置 用户ID 字段:distributor.user_id
     *
     * @param userId the value for distributor.user_id, 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取 用户名 字段:distributor.user_name
     *
     * @return distributor.user_name, 用户名
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置 用户名 字段:distributor.user_name
     *
     * @param userName the value for distributor.user_name, 用户名
     */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /**
     * 获取 分销商等级ID 字段:distributor.level_id
     *
     * @return distributor.level_id, 分销商等级ID
     */
    public Long getLevelId() {
        return levelId;
    }

    /**
     * 设置 分销商等级ID 字段:distributor.level_id
     *
     * @param levelId the value for distributor.level_id, 分销商等级ID
     */
    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    /**
     * 获取 省份编码 字段:distributor.province_code
     *
     * @return distributor.province_code, 省份编码
     */
    public String getProvinceCode() {
        return provinceCode;
    }

    /**
     * 设置 省份编码 字段:distributor.province_code
     *
     * @param provinceCode the value for distributor.province_code, 省份编码
     */
    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode == null ? null : provinceCode.trim();
    }

    /**
     * 获取 城市编码 字段:distributor.city_code
     *
     * @return distributor.city_code, 城市编码
     */
    public String getCityCode() {
        return cityCode;
    }

    /**
     * 设置 城市编码 字段:distributor.city_code
     *
     * @param cityCode the value for distributor.city_code, 城市编码
     */
    public void setCityCode(String cityCode) {
        this.cityCode = cityCode == null ? null : cityCode.trim();
    }

    /**
     * 获取 区域编码 字段:distributor.region_code
     *
     * @return distributor.region_code, 区域编码
     */
    public String getRegionCode() {
        return regionCode;
    }

    /**
     * 设置 区域编码 字段:distributor.region_code
     *
     * @param regionCode the value for distributor.region_code, 区域编码
     */
    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode == null ? null : regionCode.trim();
    }

    /**
     * 获取 启用状态 字段:distributor.status
     *
     * @return distributor.status, 启用状态
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置 启用状态 字段:distributor.status
     *
     * @param status the value for distributor.status, 启用状态
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取 开户银行名称 字段:distributor.bank_name
     *
     * @return distributor.bank_name, 开户银行名称
     */
    public String getBankName() {
        return bankName;
    }

    /**
     * 设置 开户银行名称 字段:distributor.bank_name
     *
     * @param bankName the value for distributor.bank_name, 开户银行名称
     */
    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    /**
     * 获取 银行卡号 字段:distributor.bank_card_id
     *
     * @return distributor.bank_card_id, 银行卡号
     */
    public String getBankCardId() {
        return bankCardId;
    }

    /**
     * 设置 银行卡号 字段:distributor.bank_card_id
     *
     * @param bankCardId the value for distributor.bank_card_id, 银行卡号
     */
    public void setBankCardId(String bankCardId) {
        this.bankCardId = bankCardId == null ? null : bankCardId.trim();
    }

    /**
     * 获取 银行账户名 字段:distributor.bank_account_name
     *
     * @return distributor.bank_account_name, 银行账户名
     */
    public String getBankAccountName() {
        return bankAccountName;
    }

    /**
     * 设置 银行账户名 字段:distributor.bank_account_name
     *
     * @param bankAccountName the value for distributor.bank_account_name, 银行账户名
     */
    public void setBankAccountName(String bankAccountName) {
        this.bankAccountName = bankAccountName == null ? null : bankAccountName.trim();
    }

    /**
     * 获取 联系人姓名 字段:distributor.contact_name
     *
     * @return distributor.contact_name, 联系人姓名
     */
    public String getContactName() {
        return contactName;
    }

    /**
     * 设置 联系人姓名 字段:distributor.contact_name
     *
     * @param contactName the value for distributor.contact_name, 联系人姓名
     */
    public void setContactName(String contactName) {
        this.contactName = contactName == null ? null : contactName.trim();
    }

    /**
     * 获取 联系号码 字段:distributor.contact_phone
     *
     * @return distributor.contact_phone, 联系号码
     */
    public String getContactPhone() {
        return contactPhone;
    }

    /**
     * 设置 联系号码 字段:distributor.contact_phone
     *
     * @param contactPhone the value for distributor.contact_phone, 联系号码
     */
    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    /**
     * 获取 身份证号 字段:distributor.idcard_no
     *
     * @return distributor.idcard_no, 身份证号
     */
    public String getIdcardNo() {
        return idcardNo;
    }

    /**
     * 设置 身份证号 字段:distributor.idcard_no
     *
     * @param idcardNo the value for distributor.idcard_no, 身份证号
     */
    public void setIdcardNo(String idcardNo) {
        this.idcardNo = idcardNo == null ? null : idcardNo.trim();
    }

    /**
     * 获取  字段:distributor.delete_mark
     *
     * @return distributor.delete_mark, 
     */
    public Byte getDeleteMark() {
        return deleteMark;
    }

    /**
     * 设置  字段:distributor.delete_mark
     *
     * @param deleteMark the value for distributor.delete_mark, 
     */
    public void setDeleteMark(Byte deleteMark) {
        this.deleteMark = deleteMark;
    }

    /**
     * 获取  字段:distributor.gmt_created
     *
     * @return distributor.gmt_created, 
     */
    public Date getGmtCreated() {
        return gmtCreated;
    }

    /**
     * 设置  字段:distributor.gmt_created
     *
     * @param gmtCreated the value for distributor.gmt_created, 
     */
    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    /**
     * 获取  字段:distributor.gmt_modified
     *
     * @return distributor.gmt_modified, 
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * 设置  字段:distributor.gmt_modified
     *
     * @param gmtModified the value for distributor.gmt_modified, 
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 获取 分销类型 字段:distributor.dist_type
     *
     * @return distributor.dist_type, 分销类型
     */
    public Byte getDistType() {
        return distType;
    }

    /**
     * 设置 分销类型 字段:distributor.dist_type
     *
     * @param distType the value for distributor.dist_type, 分销类型
     */
    public void setDistType(Byte distType) {
        this.distType = distType;
    }

    /**
     * 获取 可提现金额 字段:distributor.withdrawable_amount
     *
     * @return distributor.withdrawable_amount, 可提现金额
     */
    public Long getWithdrawableAmount() {
        return withdrawableAmount;
    }

    /**
     * 设置 可提现金额 字段:distributor.withdrawable_amount
     *
     * @param withdrawableAmount the value for distributor.withdrawable_amount, 可提现金额
     */
    public void setWithdrawableAmount(Long withdrawableAmount) {
        this.withdrawableAmount = withdrawableAmount;
    }

    /**
     * 获取 已提现金额 字段:distributor.withdrawed_amount
     *
     * @return distributor.withdrawed_amount, 已提现金额
     */
    public Long getWithdrawedAmount() {
        return withdrawedAmount;
    }

    /**
     * 设置 已提现金额 字段:distributor.withdrawed_amount
     *
     * @param withdrawedAmount the value for distributor.withdrawed_amount, 已提现金额
     */
    public void setWithdrawedAmount(Long withdrawedAmount) {
        this.withdrawedAmount = withdrawedAmount;
    }

    /**
     * 获取 待结算金额 字段:distributor.frozen_amount
     *
     * @return distributor.frozen_amount, 待结算金额
     */
    public Long getFrozenAmount() {
        return frozenAmount;
    }

    /**
     * 设置 待结算金额 字段:distributor.frozen_amount
     *
     * @param frozenAmount the value for distributor.frozen_amount, 待结算金额
     */
    public void setFrozenAmount(Long frozenAmount) {
        this.frozenAmount = frozenAmount;
    }

    /**
     * 获取 详细地址 字段:distributor.address
     *
     * @return distributor.address, 详细地址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置 详细地址 字段:distributor.address
     *
     * @param address the value for distributor.address, 详细地址
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }
}